package yiran.onemonthcard.output;

import org.bukkit.ChatColor;

public class MessageHelper {
    public static final String PREFIX = "§a§l[刀牌插件] ";
    
    // 普通信息
    public static String info(String message) {
        return ChatColor.translateAlternateColorCodes(
                '§',
                PREFIX + "§a§l" + message
        );
    }
    
    // 强调信息
    public static String highlight(String message) {
        return ChatColor.translateAlternateColorCodes(
                '§',
                PREFIX + "§e§l" + message
        );
    }
    
    // 警告信息
    public static String warn(String message) {
        return ChatColor.translateAlternateColorCodes(
                '§',
                PREFIX + "§6§l" + message
        );
    }
    
    // 错误信息
    public static String error(String message) {
        return ChatColor.translateAlternateColorCodes(
                '§',
                PREFIX + "§c§l" + message
        );
    }
    
    // 插件启动横幅
    public static String[] getPluginBanner() {
        return new String[] {
            "§b§l======== §e§l刀牌插件 §b§l========",
            "§b§l功能: §e月卡",
            "§b§l作者: §eYiran",
            "§b§l版本: §e1.0.0",
            "§b§l========================="
        };
    }
}
